package net.orange.architecture.validator;

/**
 * The base validator which can perform one specify logic validations.
 */
public interface IObjectValidator{
    /**
     * Check the validatity.
     * @return null or empty string for pass the validation,the error message otherwise.
     * @throws Exception
     */
    public String validate() throws Exception;
}
